package com.zhang.crawler.book;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author : zhang sq 
 * @date : 2020/07/30 11:51:57
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel(value = "")
public class DoubanBookEntity implements Serializable {
    @ApiModelProperty(value = "id" ,example = "2")
    private Long id;

    @ApiModelProperty(value = "图书名称" ,example = "图书名称")
    private String title;

    @ApiModelProperty(value = "图片地址" ,example = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "作者" ,example = "作者")
    private String author;

    @ApiModelProperty(value = "图书类型" ,example = "图书类型")
    private String bookType;

    @ApiModelProperty(value = "评分" ,example = "评分")
    private String grade;

    @ApiModelProperty(value = "译者" ,example = "译者")
    private String translator;

    @ApiModelProperty(value = "评价数量" ,example = "评价数量")
    private String gradeNum;

    @ApiModelProperty(value = "电子版地址" ,example = "电子版地址")
    private String eleUrl;

    @ApiModelProperty(value = "图书详情地址" ,example = "图书详情地址")
    private String detailUrl;

    @ApiModelProperty(value = "价格" ,example = "价格")
    private String price;

    @ApiModelProperty(value = "出版社" ,example = "出版社")
    private String press;

    @ApiModelProperty(value = "出版时间" ,example = "2018-08-08 20:00:00")
    private String publication;

    @ApiModelProperty(value = "简介" ,example = "简介")
    private String introductory;

    private static final long serialVersionUID = 1L;
}